package com.yfl.tingyu.service.impl;

import com.yfl.tingyu.pojo.RoleMenu;
import com.yfl.tingyu.mapper.RoleMenuMapper;
import com.yfl.tingyu.service.IRoleMenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2020-05-31
 */
@Service
public class RoleMenuServiceImpl extends ServiceImpl<RoleMenuMapper, RoleMenu> implements IRoleMenuService {

    @Autowired
    private  RoleMenuMapper roleMenuMapper;
    @Override
    public List<RoleMenu> seleteRoleMenu(Integer rid) {
        return roleMenuMapper.seleteRoleMenu(rid);
    }
}
